package com.sunjs.model;

import java.sql.Timestamp;

import com.sunjs.model.base.BaseCom;

/**
 * 支付订单
 * @author wang
 *
 */
public class Payment extends BaseCom {

	/**
     * 用户Id
     */
    private Integer userId;
    
	/**
	 * 支付金额
	 */
	private double payAmount;
	
	/**
	 * 支付状态0，删除 1，待支付，2已支付
	 */
	private Integer status;
	
	/**
	 * 订单编号
	 */
	private String orderNo;
	
	/**
	 * 订单名称
	 */
	private String orderName;
	
	/**
	 * openid
	 */
	private String openId;
	
	/**
	 * 创建时间
	 */
	private Timestamp createTime;
	
	/**
	 * 支付时间
	 */
	private Timestamp payTime;
	
	/**
	 * 支付来源(1.微信)
	 */
	private Integer paySource;

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public double getPayAmount() {
		return payAmount;
	}

	public void setPayAmount(double payAmount) {
		this.payAmount = payAmount;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getOrderName() {
		return orderName;
	}

	public void setOrderName(String orderName) {
		this.orderName = orderName;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public Timestamp getPayTime() {
		return payTime;
	}

	public void setPayTime(Timestamp payTime) {
		this.payTime = payTime;
	}

	public Integer getPaySource() {
		return paySource;
	}

	public void setPaySource(Integer paySource) {
		this.paySource = paySource;
	}
	
	

}